| short: Grafikobjekt |
| de: Zeigt eine Grafik an |
| en: Displays a graphic image |
| name | description | category | type | defaultValue | bindable | readOnly | required | localizable | editableBinding | projectable | cssProp (has no setter and getter in JS) | groupRefId | groupOrder | nodeRefId (for linking node and value) | deprecated | typeRefId (for StyleReference) | subtype (for MpComIdentReference) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| draggable | Make widget draggable. | Behavior | Boolean | false | false | false | false | false | false | true | |||||||
| enable | Initial option to enable widget. | Behavior | Boolean | true | true | false | false | false | false | true | |||||||
| image | Path to image file | Appearance | ImagePath | true | false | false | false | false | true | ||||||||
| permissionOperate | restricts operability to users, which have given roles | Accessibility | RoleCollection | no defaultValue defined |
false | false | false | false | false | true | |||||||
| permissionView | restricts visibility to users, which have given roles | Accessibility | RoleCollection | no defaultValue defined |
false | false | false | false | false | true | |||||||
| sizeMode | Size of image relative to widget size | Behavior | brease.enum.SizeMode | contain | false | false | false | false | false | true | |||||||
| style | reference to a style for this widget type | Appearance | StyleReference | default | true | false | false | false | false | true | |||||||
| tabIndex | sets if a widget should have autofocus enabled (0), the order of the focus (>0), or if autofocus should be disabled (-1) | Behavior | Integer | -1 | false | false | false | false | false | true | |||||||
| tooltip | reference to a tooltip for a widget | Appearance | String | false | false | false | true | false | true | ||||||||
| useSVGStyling | Define if the image stylings (i.e imageColor) are applied - only valid when SVG Images are used. | Appearance | Boolean | true | false | false | false | false | false | true | |||||||
| visible | change visibility | Behavior | Boolean | true | true | false | false | false | false | true | |||||||
| maxHeight | maximum outer height of widget | Size | 0 | false | false | false | true | true | |||||||||
| minHeight | minimum outer height of widget | Size | 0 | false | false | false | true | true | |||||||||
| maxWidth | maximum outer width of widget | Size | 0 | false | false | false | true | true | |||||||||
| minWidth | minimum outer width of widget | Size | 0 | false | false | false | true | true | |||||||||
| zIndex | The zIndex property specifies the z-order of a widget and its childs. When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one. The zIndex must be unique within a content. |
UInteger | no defaultValue defined |
false | false | true | true | true | |||||||||
| left | absolute position measured from left boundary of parent container | Integer | no defaultValue defined |
false | false | false | true | true | |||||||||
| top | absolute position measured from top boundary of parent container | Integer | no defaultValue defined |
false | false | false | true | true | |||||||||
| height | outer height of widget | AutoSize | 100 | false | false | false | true | true | |||||||||
| width | outer width of widget | AutoSize | 150 | false | false | false | true | true |
| name | type | description | defaultValue |
|---|---|---|---|
| backColor | Color | Sets the background color |
transparent |
| borderStyle | BorderStyle | Style of the Border of the widget |
none |
| borderWidth | PixelValCollection | Sets the border width of the image. For further information, please check its type |
2px |
| borderColor | ColorCollection | Sets the border color of the image. For further information, please check its type |
#333 |
| cornerRadius | PixelValCollection | Sets the radius of the widget rounded corners. For further information, please check its type |
0px |
| opacity | Opacity | Opacity of the widget |
1 |
| rotation | Rotation | Rotation of widget |
0deg |
| margin | Margin | Margin of the Widget |
0px |
| shadow | Shadow | Shadow of the Widget |
none |
| imageColor | Color | Color of the image - only apply if a SVG image is used |
#000000 |
| name | description | arguments |
|---|---|---|
| Click | Fired when element is clicked on. |
|
| DisabledClick | Fired when disabled element is clicked on. |
|
| EnableChanged | Fired when operability of the widget changes. |
|
| FocusIn | Fired when the widgets gets focus | |
| FocusOut | Fired when the widgets lost focus | |
| OnDragEnd | Fired when element has OnDragEnd. |
|
| OnDragEnter | Fired when element has onDragEnter. |
|
| OnDragLeave | Fired when element has OnDragLeave. |
|
| OnDragStart | Fired when element has OnDragStart. |
|
| OnDrop | Fired when element has OnDrop. |
|
| VisibleChanged | Fired when the visibility of the widget changes. |
|
| name | description | arguments | result |
|---|---|---|---|
| Focus | Sets focus on the widget element, if it can be focused and keyboardOperation=true | ||
| SetEnable | Sets the state of property «enable» |
|
|
| SetImage | Sets image |
|
|
| SetStyle |
|
||
| SetVisible | Sets the state of property «visible» |
|
|
| ShowTooltip |